<div>
{% for name, verbose_name, href in MENU %}
{%if name != CURRENT_ITEM %}
<a href="{{ href }}">{{ verbose_name }}</a> {% if not forloop.last %}|{% endif %}
{% else %}
{{ verbose_name }} {% if not forloop.last %}|{% endif %}
{% endif %}
{% endfor %}
</div>